<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<title>取款日志</title>
		<%@include file="/WEB-INF/base.jspf"%>
		<style>
		 body {
		 	padding:30px;
		 }
		 .div-c-searchTool {
		 	display:flex;
		 	align-items:center;
		 }
		 .div-c-searchTool input[type='date'].form-control {
		 	width:150px;
		 }
		 .div-c-searchTool select.form-control {
		 	width:140px;
		 }
		 .div-c-searchTool input[type='text'].form-control {
		 	width:160px;
		 }
		 .div-c-searchTool * {
		 	margin-right:6px;
		 }
		 .div-c-searchTool {
		 	margin-bottom:10px;
		 }
		 span.btn {
		 	cursor: default;
		 }
 table th, table tr, table td {
	text-align: center;
	vertical-align: middle;
}
		</style>
	</head>
	<body style="">
<div class="div-c-main">
		<div class="div-c-searchTool">
			<select class="form-control" id="select-i-status">
				<option value=''>全部记录</option>
				<option value='人工加款'>人工加款</option>
				<option value='人工扣款'>人工扣款</option>
				<option value='在线提款'>快速提款</option>
			</select>
			<input type="text" class="form-control" placeholder="用户账号" id="input-i-account" />
			<input type="date" class="form-control" id="input-i-date1" />
			<input type="date" class="form-control" id="input-i-date2" />
			<button class="btn btn-primary" id="button-i-searchAJAXTable">查询</button>
			<button class="btn btn-primary" id="button-i-resetAJAXTable">重置</button>
		</div>
<table id="table-i-getMoneyLogList" class="table-normal-datatables table table-striped table-bordered table-hover">
		<thead>
			<tr>
				<th>提款会员</th>
				<th>订单号</th>
				<th>支付平台</th>
				<th>交易金额</th>
				<th>交易时间</th>
				<th>存取类型</th>
				<th>状态</th>
				<th>备注</th>
			</tr>
		</thead>
		<tbody> </tbody>
	</table>		
	</div>	
	
<div class="modal fade" id="noticeModal" tabindex="-1" role="dialog" aria-labelledby="noticeModal" aria-hidden="true">
    <div class="modal-dialog class-fake-alert">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            </div>
            <div class="modal-body" ></div>
            <div class="modal-footer">	      
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>			
	
				
	</body>
	<script type="text/javascript" src="/js/zhengzeTools.js"></script>
	<script>
 	var dataTable = $("#table-i-getMoneyLogList").DataTable({
	      // "bPaginate": true,
	      "bLengthChange": true,      
	      "bSort": false,
	      "bAutoWidth": false,
	      'aLengthMenu':[10, 20],
	       "searching": false,
	       "dom": `ftp`,
	       "language": {//语言设置  
	            "lengthMenu": "每页显示 _MENU_ 条记录",     
	            "zeroRecords": "没有检索到数据",     
	            "sInfo": "当前显示 _START_ 到 _END_ 条，共 _TOTAL_ 条记录",     
	            "info": "没有数据",     
	            "oPaginate": {     
	                "sFirst": "首页",     
	                "sPrevious": "前一页",     
	                "sNext": "后一页",     
	                "sLast": "尾页"    
	          	},
	            "search":"搜索:",
	            "infoFiltered":   "(从  _MAX_ 记录中搜索出结果)",
	            "infoEmpty":      "没有找到匹配的信息",
	         },
	         "ajax": {
	        	 "type": "POST",
	        	 "url":"/userAgent/findUserWithdrawalRecord.do",
	         },
		         "columns": [
						 {"data": "name",},
	                     {"data": "ordernum",},
	                     {"data": "zhifupt",},
	                     {"data": "tikuanje",},
	                     {"data": "sqtime",},
	                     {"data": "type",},
	                     {"data": "state",},
	                     {"data": "beizhu",},
	                 ] 
	   		 })
	   		 		   		 
	bindSearchBtnAndResetBtnEvent({
		search: "#button-i-searchAJAXTable",
		reset: "#button-i-resetAJAXTable",
		table: "#table-i-getMoneyLogList",
		params: ["#select-i-status", "#input-i-account", "#input-i-date1", "#input-i-date2", ],
	})
	</script>
</html>
